-- GENERATED SPELL FOR [Angerclaw Grizzly] --


function spell0_8957(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_8957', 553, 1)
end

function spell1_8957(pUnit, Event) --@Low Swipe,n/a--
pUnit:FullCastSpellOnTarget(8716,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8957', 12267, 1)
end

function Sorts_8957(pUnit, Event)
local choix_sorts_8957 = math.random(0, 1)
if choix_sorts_8957 == 0 then
pUnit:RegisterEvent('spell0_8957', 1, 1)
end
if choix_sorts_8957 == 1 then
pUnit:RegisterEvent('spell1_8957', 1, 1)
end
end

function mob8957_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8957', math.random(1500, 3000), 1)
end

function mob8957_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8957_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8957_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8957, 1, 'mob8957_Action')
RegisterUnitEvent(8957, 2, 'mob8957_Leave')
RegisterUnitEvent(8957, 3, 'mob8957_Kill')
RegisterUnitEvent(8957, 4, 'mob8957_Die')
